package com.dpj.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dpj.seckill.pojo.TUser;
import com.dpj.seckill.vo.LoginVo;
import com.dpj.seckill.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.xml.ws.Response;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-07-03
 */
public interface TUserService extends IService<TUser> {




    //验证登录
    RespBean doLogin(LoginVo loginVo, HttpServletRequest request, HttpServletResponse response);

    //从redis中获取用户
    TUser getUserByCookie(String ticket,HttpServletRequest request,HttpServletResponse response);


}
